﻿using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations;

namespace Qy.Scenario;

[SugarTable(DbTableName.OasDocPostMark)]
public class DocPostMark
{
    [SugarColumn(IsPrimaryKey = true)]
    public int Id { get; set; }
    public int Aid { get; set; }
    public int Uid { get; set; }
    public bool Status { get; set; } = true;
    public int Mark { get; set; }
    public string Remark { get; set; }
    public DateTime GreatTime { get; set; }= DateTime.Now;

}

public class EditDocPostMark
{
    public int Id { get; set; }
    [Display(Name = "文件Id")]
    public int Aid { get; set; }
    [Display(Name = "标记用户")]
    public int Uid { get; set; }

    [Display(Name = "标记标识")]
    [Required(ErrorMessage = "请输入{0}")]
    public int Mark { get; set; }
    [Display(Name = "标记备注")]
    public string Remark { get; set; }
}

public class ViewDocPostMark
{
    public int Id { get; set; }
    public int Aid { get; set; }
    public int Uid { get; set; }
    [Display(Name = "采用备注")]
    public int Mark { get; set; }
    [Display(Name = "标记备注")]
    public string Remark { get; set; }
    public DateTime GreatTime { get; set; }
    public string Title { get; set; }
    public string NickName { get; set; }
    public string MarkName { get; set; }
    public DateTime InsertTime { get; set; }
}
